/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.clwl.supervise.superviseapp.mapper.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clwl.supervise.superviseapp.entity.base.TcCompanyModifyRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * tc_company_modify_record Mapper接口
 * @author: GC
 * @date 2023-09-19 10:18:38
 */
public interface TcCompanyModifyRecordMapper extends BaseMapper<TcCompanyModifyRecord> {

    /**
     * 自定义分页查询
     * @param  page
     * @param  TcCompanyModifyRecord 实体类
     */
    Page<TcCompanyModifyRecord> findPage(IPage<TcCompanyModifyRecord> page,
                                         @Param("tcCompanyModifyRecord") TcCompanyModifyRecord TcCompanyModifyRecord,
                                         @Param("sql_filter") String sql_filter);

    /**
     * 通过ID查询
     * @param id 查询ID
     * @return
     */
    TcCompanyModifyRecord findTcCompanyModifyRecordById(@Param("id") Long id);

    /**
     * 查询列表
     * @param TcCompanyModifyRecord 查询条件对象
     * @return
     */
    List<TcCompanyModifyRecord> findList(TcCompanyModifyRecord TcCompanyModifyRecord);

}
